package com.deschen.security.core.properties;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;

/**
 * @Author deschen
 * @Create 2019/8/20
 * @Description 短信验证码配置类
 * @Since 1.0.0
 */
@Data
@Slf4j
public class SmsCodeProperties {

    private int length = 4;

    private long expireIn = 180L;  // 保存时效，60秒

//    @Value("#{'${url}'.split(',')}")
    private String urls = SecurityConstants.DEFAULT_LOGIN_PROCESSING_URL_MOBILE;
}
